{% extends "MediacosmosUserBundle::layout.html.twig" %}
{% trans_default_domain 'FOSUserBundle' %}

{% block title %}Profil-{{parent()}}{% endblock %}

{% block fos_user_content %}
<a href="{{ path('fos_user_profile_edit') }}">Editer</a>

<div class="fos_user_user_show">
    {%if is_granted("ROLE_ARTIST") %}
        <p>Profil d'artiste</p>
    {% else %}
        <p>Profile de membre</p>
    {% endif %}
    <p>{{ 'profile.show.username'|trans }} :{{ user.username|capitalize }}</p>
    <p>{{ 'profile.show.email'|trans }} :{{ user.email }}</p>
    <p>Prenom :{{ user.prenom|capitalize }}</p>
    <p>Nom :{{ user.nom|capitalize }}</p>
    <p>Age :{{ user.age }}</p>
    <p>Description :{{ user.description }}</p>
</div>
{% endblock fos_user_content %}